home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000 #1
/
Ham Radio 2000.iso
/
ham2000
/
tcp_ip
/
ka9q
/
expiry
/
sleep.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-05-10
|
264 b
|
16 lines
/* Sleep for some number of seconds (default 10) */
/* Written by Bernie Roehl, May 1990 */
#include <stdio.h>
#include <dos.h>
#include <stdlib.h>
void main(int argc, char *argv[])
{
if (argc > 1)
sleep(atoi(argv[1]));
else
sleep(10);
}